<template>
  <div class="player">
    <div class="music_window" @click="go_play">
      <div class="imgWrap">
        <img src="../assets/images/logo.jpg" alt />
      </div>
      <div class="music_window_main">
        <div class="left">
          <p class="al_name">{{ m_name }}</p>
          <p class="ar_name">{{ ar_name }}</p>
        </div>
        <div class="right">
          <span class="iconfont icon-zuobofang" @click.stop="previous"></span>
          <span class="iconfont icon-bofang" @click.stop="boFang"></span>
          <span class="iconfont icon-youbofang" @click.stop="next"></span>
          <span class="iconfont icon-suijibofang"></span>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
    
}
</script>
<style lang="scss" scoped>
    /* 播放小窗口 */
.music_window{
    width: 100vw;
    position: fixed;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: skyblue;
    align-items: center;
    height: 60px;
    line-height: 60px;
}
.music_window .imgWrap{
    width: 10%;
    height: 40px;
    font-size: 0;
    margin-right: 10px;
}
.imgWrap img{
    width: 100%;
    border-radius: 50%;
    border: 1px solid white;
}
.music_window .music_window_main{
    width: 90%;
}
.music_window_main{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.music_window .right span{
    margin-right: 20px;
}
.music_window_main .left{
    text-align: left;
}
.music_window_main .left .ar_name{
    font-size: 12px;
    color: gray;
}
</style>